package com.zjl.service.impl;

import com.zjl.mapper.UserMapper;
import com.zjl.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;

/**
 * @Author EternalPain
 * @Date 2023/1/31 18:48
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    public UserMapper userMapper;

    @Override
    public BigDecimal findMoney(int userId) {
        return userMapper.findMoney(userId);
    }
}
